package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.CheckItem;

import java.util.List;

public interface CheckItemService {
    boolean add(CheckItem checkItem);

    long findTotal();

    PageResult findPage(QueryPageBean queryPageBean);

    Integer delete(Integer id);

    CheckItem findById(Integer id);

    boolean update(CheckItem checkItem);

    List<CheckItem> findAll();
}
